package com.dm.hdfxxt.cylmanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component(value ="cylMapper")
public interface CylMapper {
    List<Map<String,Object>> queryCylByCondition(Map<String, Object> param);

    int saveCyl(Map<String, Object> param);

    List<Map<String,Object>> queryAllCyl(Map<String, Object> param);

    int editCyl(Map<String, Object> param);

    int delCyl(Map<String, Object> param);

    List<Map<String,Object>> queryExistCylServiceInfo(Map<String, Object> param);

    int saveCylServiceInfo(Map<String, Object> param);

    int updateCylServiceInfo(Map<String, Object> param);

    List<Map<String,Object>> queryExistCylTotal(Map<String, Object> param);

    int saveCylTotal(Map<String, Object> param);

    int updateCylTotal(Map<String, Object> param);

    List<Map<String,Object>> queryAllCylService(Map<String, Object> param);

    List<Map<String,Object>> queryAllCylTotal(Map<String, Object> param);
}
